package com.gofun.framework.web.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Project       : spring-boot-sample-xml
 * @Program Name  : com.ljt.sample.config.property.PageProperties.java
 * @Description   : 翻页参数属性
 * @Author        : wangchao
 * @Creation Date : 2016-3-12 上午12:58:29 
 * @ModificationHistory  
 * Who          When             What 
 * ----------   -------------    -----------------------------------
 * wangchao     2016-3-12        create
 */
@Component
@ConfigurationProperties(prefix = "page")
public class PageProperties {
	
	private String currNumberName;
	
	private String pageSizeName;
	
	private Integer pageSize;

	public String getCurrNumberName() {
		return currNumberName;
	}

	public void setCurrNumberName(String currNumberName) {
		this.currNumberName = currNumberName;
	}

	public String getPageSizeName() {
		return pageSizeName;
	}

	public void setPageSizeName(String pageSizeName) {
		this.pageSizeName = pageSizeName;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
}
